package brush;

import net.jcip.annotations.Immutable;
import shape.Circle;
import surface.Canvas;

@Immutable
public class CircleBrush extends AbstractBrush {
	
	private final Circle circle;
	
	public CircleBrush(final Canvas canvas, Circle circle) {
		super(canvas);
		this.circle = circle;
	}
	
	@Override
	public void draw(final BrushStateContext context) {
		canvas.addShape(circle);
	}	
}
